﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Husb.Data
{
    public interface IDBContext<T>
    {
        IEnumerable<T> GetAll();
        IEnumerable<T> GetMany(Func<T, bool> where);
        T Get(Func<T, Boolean> where);
        T GetById(long id);
    }
}
